package com.heima.model.comment.dtos;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;

@Data
public class CommentRepaySaveDTO {
    /**
     * 评论id
     */
    private String commentId;
    /**
     * 回复内容
     */
    @NotNull
//    @Max(140)
    @Length(min = 1,max = 140,message = "长度不正确")
    private String content;
}